//
//  Const.h
//  CToolBox
//
//  Created by crj on 16/8/4.·
//  Copyright © 2016年 oyf. All rights reserved.
//

#ifndef Const_h
#define Const_h

    
//客服聊天id
#define NIMCustomerServiceId @"a6d1bbf7e43c41f89b10b87de6a48077"

/**  服务器地址 */

#if DEBUG
// 外网测试服务器
#define kBaseUrl @"http://47.93.173.186"
// 本机测试服务器
//#define kBaseUrl @"http://192.168.0.21:8088"
#else
#define kBaseUrl @"http://api2.yjsale.com/api/"
#endif

#define LibraryUrl @"http://wenku.yjsale.com/api/"
//数据库名称
#define kDataBaseName @"YJdata.sqlite"

#define imageCDNHost @"http://imgcdn.yjsale.com"

#define key_ShortVersion @"key_ShortVersion"

/** 颜色 */
//-----------------------font-----------------------


#define kScreenScale ([UIScreen mainScreen].bounds.size.width/375.0)
//黑色
#define kColorBlack1  @"283345"
#define kColorBlack2  @"313233"
#define kColorBlack3  @"070d0d"

//灰色
#define kColorGray1   @"626466"
#define kColorGray2   @"7a7c80"
#define kColorGray3   @"abaeb3"
#define kColorGray4   @"c4c7cc"
#define kColorGray5   @"c8cacc"
#define kColorGray6   @"e1e3e6"
#define kColorGray7   @"ebedf0"//背景色 线
#define kColorGray8   @"e6e9e9"
#define kColorGray9   @"bcbcbc"
#define kColorGray10  @"898a8b"
#define kColorGray11  @"959595"
#define kColorGray12  @"d7d7d7"

//橘色
#define kColorOrange1  @"f55925"
#define kColorOrange2  @"ff821c"//数字颜色
#define kColorOrange3  @"ffaa65"
#define kColorOrange4  @"ffa903"
#define kColorOrange5  @"ca814c"
#define kColorOrange6 @"d9ab6c"
#define kColorOrange7 @"d1c0a5"

//蓝色
#define kColorBlue1   @"3385ff"
#define kColorBlue2   @"3668b3"
#define kColorBlue3   @"33aaff"
#define kColorBlue4   @"66bfff"
#define kColorBlue5   @"80b2ff"
#define kColorBlue6   @"0b3d90"  //回复昵称颜色
#define kColorBlue7   @"d7f3ff"
#define kColorBlue8   @"56abe4"
#define kColorBlue9   @"a2d5f9"
#define kColorBlue10  @"2eacff"

//紫色
#define kColorPurple1  @"673699"
#define kColorPurple2  @"cc99ff"
#define kColorPurple3  @"8d83f5"

//红色
#define kColorRed1  @"ff5460"
#define kColorRed2  @"ff8088"

//绿色
#define kColorGreen1 @"26bf85"
#define kColorGreen2 @"4dbf93"
#define kColorGreen3 @"97cc52"

//黄色
#define kColorYellow1 @"ffff66"
#define kColorYellow2 @"f9ad41"

//随机颜色
#define kColorRandom  [UIColor colorWithRed:(arc4random_uniform(255))/255.0 green:(arc4random_uniform(255))/255.0 blue:(arc4random_uniform(255))/255.0 alpha:1.0]
//-----------------------font-----------------------

/** 字体 */

#define kFontIcon @"iconfont"

/** Frame */

#define kCornerRadius 3

/** 边距 */

#define kSpaceSide 10 //边距
#define kSpaceCenter 5//间距
#define kLineHeight  0.5

/** 默认图 */
#define kDefaultImage       @"defaultImage"//默认图片
#define kDefaultFaceImage   @"defaultFaceImage"//默认头像

/** 通知名 */
#define DEF_NOTIFINAME_SIGNCHANGE      @"signChange"//签到信息更新
#define DEF_NOTIFINAME_UPDATEINFO      @"updateInfomation"//更新信息
#define DEF_NOTIFINAME_UPDATE_FRIEND   @"updateFriend"//更新好友信息
#define DEF_NOTIFINAME_NIM_LOGIN       @"NIMLogin"      //网易云信登录成功
#define DEF_NOTIFINAME_RELOGIN_SUCCEED @"reloginSucceed"//重新登录成功
#define DEF_NOTIFINAME_LOGIN_SUCCEED   @"loginSucceed"  //登录成功
#define DEF_NOTIFINAME_REQUESTFAILURE  @"requestFailure" //网络请求失败
#define DEF_NOTIFINAME_SYSTEM          @"systemNoti"   //云信系统消息
#define DEF_NOTIFINAME_LIVEROOMSHOWNOREAD          @"systemNotiLiveRoomShowNoread"   //收到消息 直播间内 显示私信小红点
#define DEF_NOTIFINAME_JUMPHOME         @"DEF_NOTIFINAME_JUMPHOME"

#define DEF_SHARE_LIVE_URL @"http://h5.yjsale.com/CampHome/liveRadio.html?liveid="
#define DEF_SHARE_TITLE_TEXT @"营家老师套路深，学了不用回农村！"
#define DEF_SHARE_CONTENT @"正在直播..."

#define DEF_CATEGORY_ID_FREE @"3ecb6b3f-4276-4be2-8808-7f1b2e5375cf"
#define DEF_CATEGORY_ID_LIVE @"live"

//首页蒙版
#define First_Guide_Free @"firstGuideFree"
#define First_Guide_Qun @"firstGuideQun"

//vip卡购买
#define DEF_VIP_CARD_TYPE @"vipCardPurchaseType"
//单独课程购买
#define DEF_COURSE_TYPE   @"coursePurchaseType"
//课程包
#define DEF_COURSE_BAG_TYPE   @"courseBagPurchaseType"

//营家小广播时间
#define Broad_Message_Date @"broadMessageDate"

//重登录开始\结束通知
#define DEF_NOTIFINAME_RELOGIN_START @"reloginStart"
#define DEF_NOTIFINAME_RELOGIN_END   @"reloginEnd"

#endif /* Const_h */
